Optimal. Leaf size=22 \[ \frac{\log ^3\left (c \left (b x^n\right )^p\right )}{3 n p} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0496139, antiderivative size = 22, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.188, Rules used = {2302, 30, 2445} \[ \frac{\log ^3\left (c \left (b x^n\right )^p\right )}{3 n p} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2302
Rule 30
Rule 2445
Rubi steps
\begin{align*} \int \frac{\log ^2\left (c \left (b x^n\right )^p\right )}{x} \, dx &=\operatorname{Subst}\left (\int \frac{\log ^2\left (b^p c x^{n p}\right )}{x} \, dx,b^p c x^{n p},c \left (b x^n\right )^p\right )\\ &=\operatorname{Subst}\left (\frac{\operatorname{Subst}\left (\int x^2 \, dx,x,\log \left (b^p c x^{n p}\right )\right )}{n p},b^p c x^{n p},c \left (b x^n\right )^p\right )\\ &=\frac{\log ^3\left (c \left (b x^n\right )^p\right )}{3 n p}\\ \end{align*}
Mathematica [A] time = 0.001235, size = 22, normalized size = 1. \[ \frac{\log ^3\left (c \left (b x^n\right )^p\right )}{3 n p} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 21, normalized size = 1. \begin{align*}{\frac{ \left ( \ln \left ( c \left ( b{x}^{n} \right ) ^{p} \right ) \right ) ^{3}}{3\,pn}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.11672, size = 27, normalized size = 1.23 \begin{align*} \frac{\log \left (\left (b x^{n}\right )^{p} c\right )^{3}}{3 \, n p} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 0.831912, size = 157, normalized size = 7.14 \begin{align*} \frac{1}{3} \, n^{2} p^{2} \log \left (x\right )^{3} +{\left (n p^{2} \log \left (b\right ) + n p \log \left (c\right )\right )} \log \left (x\right )^{2} +{\left (p^{2} \log \left (b\right )^{2} + 2 \, p \log \left (b\right ) \log \left (c\right ) + \log \left (c\right )^{2}\right )} \log \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.85619, size = 41, normalized size = 1.86 \begin{align*} - \begin{cases} - \log{\left (x \right )} \log{\left (b^{p} c \right )}^{2} & \text{for}\: n = 0 \\- \log{\left (c \right )}^{2} \log{\left (x \right )} & \text{for}\: p = 0 \\- \frac{\log{\left (c \left (b x^{n}\right )^{p} \right )}^{3}}{3 n p} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.32034, size = 80, normalized size = 3.64 \begin{align*} \frac{1}{3} \, n^{2} p^{2} \log \left (x\right )^{3} + n p^{2} \log \left (b\right ) \log \left (x\right )^{2} + p^{2} \log \left (b\right )^{2} \log \left (x\right ) + n p \log \left (c\right ) \log \left (x\right )^{2} + 2 \, p \log \left (b\right ) \log \left (c\right ) \log \left (x\right ) + \log \left (c\right )^{2} \log \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]